package com.dosen.api.third.party.register.router;


import com.dosen.api.common.result.R;
import com.dosen.api.third.party.register.model.router.RouterPacket;

/**
 * @version V1.0
 * @author: guangcheng
 * @date: 2022/8/25 10:42
 * @description:
 */
public interface ISubRouter {

    /**
     * 全局路由在全局一侧完成
     * 局部子路由在局部一侧完成
     *
     * @param packet
     * @return
     */
    R router(RouterPacket packet);
}
